package com.shxc.smarttrade.dialogactivity;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.shxc.smarttrade.R;
import com.shxc.smarttrade.account.activity.TradingAccountActivity;
import com.shxc.smarttrade.base.NoActionBarBaseActivity;
import com.shxc.smarttrade.old.activity.SelectBrokeOpenAccountActivity;

import org.xchris.view.annotation.ContentView;
import org.xchris.view.annotation.Event;
import org.xchris.view.annotation.ViewInject;

/**
 * 账户到期
 */
@ContentView(R.layout.activity_dialog_changeacc)
public class ChangeAccDialogActivity extends NoActionBarBaseActivity {
    @ViewInject(R.id.open_textview)
    TextView open_textview;

    @Event({R.id.close_imageview, R.id.change_view})
    private void onClick(View view) {
        switch (view.getId()) {
            case R.id.close_imageview:
                finish();
                break;
            case R.id.change_view:
                JumpTo(TradingAccountActivity.class);
                finish();
                break;
        }
    }
}
